package kr.ac.postech.marathon.client;


import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HorizontalPanel;

public class Menu extends Composite {
	private HorizontalPanel menuPanel = new HorizontalPanel();
	private String menuItems[] = {"대회 소개", "코스 안내", "참가 신청", "신청 현황", "갤러리", "게시판"};
	private String menuTokens[] = {"intro", "map", "register", "registered_list", "gallery", "board"};
	
	public Menu() {
		
		menuPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
		
		for(int i = 0; i < menuItems.length; i++) {
			menuPanel.add(new Hyperlink(menuItems[i], menuTokens[i]));
		}
		
		initWidget(menuPanel);
	}

}
